"""
@File    :   list_convert.py
@Time    :   2024/04/14 20:14:14
@Author  :   Qrj
@Email   :   923207736@qq.com
@description   :   pydantic模型的简单转换的验证器
"""

from typing import Any


def unique_list_validator(cls, list_obj: list[Any]) -> list[Any]:
    """list去重"""
    return list(set(list_obj))
